scalaVersion := "2.11.8"

name := "scalaForImpatient"

addCompilerPlugin("org.scala-lang.plugins" % "scala-continuations-plugin_2.11.2" % "1.0.2")


libraryDependencies ++= Seq(
  "org.scala-lang" % "scala-reflect" % "2.11.2",
  "org.scala-lang" % "scala-actors" % "2.11.8",
  "com.sun.scn" % "sysnet-registration" % "1.0.3",
  "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4",
  "org.scala-lang.modules" %% "scala-swing" % "1.0.2",
  "org.scala-lang.modules" %% "scala-xml" % "1.0.5",

  // Spray
  "io.spray" %% "spray-io" % "1.3.3",
  "io.spray" %% "spray-util" % "1.3.3",
  "io.spray" %% "spray-can" % "1.3.3",
  "io.spray" %% "spray-routing" % "1.3.3",
  "io.spray" %% "spray-testkit" % "1.3.3" % "test",
  "io.spray" %% "spray-client" % "1.3.4",
  "io.spray" %% "spray-json" % "1.3.2",
  "ch.qos.logback" % "logback-classic" % "1.1.3",
  "org.scalatest" %% "scalatest" % "2.2.6" % "test",

  // scala continuations
  "org.scala-lang.plugins" %% "scala-continuations-library" % "1.0.2",
  "org.scala-lang.modules" %% "scala-async" % "0.9.2",
  "org.scala-lang.modules" %% "scala-pickling" % "0.10.0",

  "com.netflix.rxjava" % "rxjava-scala" % "0.20.7",
  "io.reactivex" % "rxjava" % "1.1.9",
  "com.lihaoyi" %% "scalarx" % "0.3.1",
  "com.scalarx" %% "scalarx" % "0.2.6",

  // Akka actors
  "com.typesafe.akka" %% "akka-actor" % "2.4.11", // Classic Actors, Typed Actors, IO Actor etc.
  "com.typesafe.akka" %% "akka-slf4j" % "2.4.11", // SLF4J Logger (event bus listener)
  "com.typesafe.akka" %% "akka-remote" % "2.4.11", // Remote Actors
  "com.typesafe.akka" %% "akka-agent" % "2.4.11", // Agents, integrated with Scala STM
  "com.typesafe.akka" %% "akka-testkit" % "2.4.11" % "test", // Toolkit for testing Actor systems

  // sppark
  "org.apache.spark" %% "spark-parent" % "2.0.1",
  "org.apache.spark" %% "spark-bagel" % "1.6.1",
  "org.apache.spark" %% "spark-catalyst" % "2.0.1",
  "org.apache.spark" %% "spark-yarn" % "2.0.1",
  "org.apache.spark" %% "spark-mllib" % "2.0.1",
  "org.apache.spark" %% "spark-launcher" % "2.0.1",
  "org.apache.spark" %% "spark-repl" % "2.0.1",
  "org.apache.spark" %% "spark-streaming" % "2.0.1",
  "org.apache.spark" %% "spark-streaming-twitter" % "1.6.1",
  "org.twitter4j" % "twitter4j-stream" % "4.0.4",
  "org.apache.spark" %% "spark-sql" % "2.0.1",
  "org.apache.spark" %% "spark-hive" % "2.0.1"



)

scalacOptions += "-P:continuations:enable"